package com.jgsu.farm.service;

import com.jgsu.farm.entity.User;
import com.github.pagehelper.PageInfo;


public interface UserService {

    int deleteUserByID(Integer userid);

    Integer modifyExpertMsg(Integer userid,String password,Integer role,String name,String nickname,String phone,
                            String email,Integer address,String postcode,String photo,String introduction,Integer state);

    /**
     * 基于动态SQL的模糊查询
     * */
    PageInfo<User> FindExpertListByState(Integer role,Integer state,int page,int pagesize);
}
